package com.weds.edpf.core.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import java.util.List;

import com.weds.core.base.BaseService;
import com.weds.edpf.core.mapper.NWtRegMapper;
import com.weds.edpf.core.entity.NWtRegEntity;

/**
 * @Author wangjianqiang
 * @Description NWtReg管理
 * @Date 2020-06-16
 */
@Service
public class NWtRegService extends BaseService {

    @Autowired
    private NWtRegMapper nWtRegMapper;

    private Logger log = LogManager.getLogger();


    public int insert(NWtRegEntity record) {
        return nWtRegMapper.insert(record);
    }

    public int insertSelective(NWtRegEntity record) {
        return nWtRegMapper.insertSelective(record);
    }


    public List<NWtRegEntity> selectListByEntity(NWtRegEntity record) {
        return nWtRegMapper.selectListByEntity(record);
    }


    public int insertBatch(List<NWtRegEntity> list) {
        return nWtRegMapper.insertBatch(list);
    }

    public int selectCardShouQ() {
        return nWtRegMapper.selectCardShouQ();
    }

    public int countXh() {
        return nWtRegMapper.countXh();
    }
}
